/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aso.upna.controllers;

import java.awt.Color;
import java.awt.Component;
import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;

/**
 *
 * @author triki
 */
class ColoredTableCellRenderer extends DefaultTableCellRenderer
{
    @Override
    public void setValue(Object value) {
        if(value instanceof Color)
        {
            super.setBackground((Color)value);
        }
    }

}
   
